<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../../layui/css/layui.css"/>
	</head>
	<body>
		<!-- 模糊查 -->
		<form class="layui-form" action="">
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">姓名</label>
					<div class="layui-input-inline">
						<input type="text" name="tnames" id="tnames" placeholder="请输入老师姓名" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">手机号码</label>
					<div class="layui-input-inline">
						<input type="text" name="phones" id="phones" placeholder="请输入手机号码" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo1">立即查询</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<table class="layui-hide" id="test" lay-filter="test"></table>
		<!-- from表单开始 -->
		<form class="layui-form" action="" style="display: none;" id="from" lay-filter="from">
			<div class="layui-form-item" style="display: none;">
				<label class="layui-form-label">编号</label>
				<div class="layui-input-block">
					<input type="text" name="tid" id="tid" lay-verify="title" placeholder="请输入编号" class="layui-input">
				</div>
			</div>
			<!-- <div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">所属系别</label>
					<div class="layui-input-inline">
						<input type="text" name="deptid" id="deptid" lay-verify="title" placeholder="请所属系别" class="layui-input">
					</div>
				</div>
			</div> -->
			<div class="layui-form-item">
				<label class="layui-form-label">教师姓名</label>
				<div class="layui-input-block">
					<input type="text" name="tname" id="tname" lay-verify="title" placeholder="请输入教师姓名"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">系别编号</label>
				<div class="layui-input-block">
					<input type="text" name="deptid" id="deptid" lay-verify="title" placeholder="请输入系别编号"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">性别</label>
				<div class="layui-input-block">
					<input type="text" name="sex" id="sex" lay-verify="title" placeholder="请输入性别" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">生日</label>
				<div class="layui-input-block">
					<input type="text" name="birthday" id="birthday" lay-verify="title" placeholder="请输入生日"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">入职时间</label>
				<div class="layui-input-block">
					<input type="text" name="createtime" id="createtime" lay-verify="title" placeholder="请输入入职时间"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">邮箱</label>
				<div class="layui-input-block">
					<input type="text" name="email" id="email" lay-verify="title" placeholder="请输入" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">手机</label>
				<div class="layui-input-block">
					<input type="text" name="phone" lay-verify="title" id="phone" placeholder="请输入手机"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button type="submit" class="layui-btn" lay-submit="" lay-filter="demo">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>
		<!-- from表单结束 -->
		<!-- from查看 -->
		<form class="layui-form" action="" style="display: none;" id="demo" lay-filter="demo">
			<div class="layui-form-item">
				<div class="layui-inline" style="display: none;">
					<label class="layui-form-label">编号</label>
					<div class="layui-input-inline">
						<input type="text" name="tid" id="tid" placeholder="请输入老师姓名" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">姓名</label>
					<div class="layui-input-inline">
						<input type="text" name="tname" id="tname" placeholder="请输入老师姓名" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">性别</label>
					<div class="layui-input-inline">
						<input type="text" name="sex" id="sex" placeholder="请输入性别" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">生日</label>
					<div class="layui-input-inline">
						<input type="text" name="birthday" id="birthday" placeholder="请输入生日" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">入职时间</label>
					<div class="layui-input-inline">
						<input type="text" name="createtime" id="createtime" placeholder="请输入手入职时间" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">邮箱</label>
					<div class="layui-input-inline">
						<input type="text" name="email" id="email" placeholder="请输入邮箱" class="layui-input">
					</div>
				</div>
				<div class="layui-inline">
					<label class="layui-form-label">手机</label>
					<div class="layui-input-inline">
						<input type="text" name="phone" id="phone" placeholder="请输入手机号码" class="layui-input">
					</div>
				</div>
			</div>
		</form>
		<!-- from查看结束 -->
	</body>
	<!-- <script type="text/html" id="toolbarDemo">
		<div class="layui-btn-container">
			<button class="layui-btn layui-btn-sm" lay-event="getCheckData">增加数据</button>
		</div>
	</script> -->

	<script type="text/html" id="barDemo">
		<a class="layui-btn  layui-btn-xs layui-btn-radius" lay-event="edit">编辑</a>
		<a class=" layui-btn-danger layui-btn layui-btn-xs layui-btn-radius" lay-event="del">删除</a>
		<a class="layui-btn layui-btn-xs layui-btn-radius " lay-event="select">查看</a>
	</script>

	<script src="../../js/jquery-1.8.3.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="../../layui/layui.js" type="text/javascript" charset="utf-8"></script>
	<script src="Teacher.js" charset="utf-8"></script>
</html>
